package org.kjtc.entity;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement(name = "weChatConfig")
public class WeChatConfig {

    @XmlElement(name = "pushType")
    private String pushType;

    @XmlElement(name = "pushTime")
    private String pushTime;

    @XmlElement(name = "access")
    private int access;

    @XmlElement(name = "pushUrl")
    private String pushUrl;

    @XmlElement(name = "weChatModuleID")
    private String weChatModuleID;

    @XmlElement(name = "forwardUrl")
    private String forwardUrl;

    @XmlElement(name = "statisticsTime")
    private String statisticsTime;

    public String getStatisticsTime() {
        return statisticsTime;
    }

    public void setStatisticsTime(String statisticsTime) {
        this.statisticsTime = statisticsTime;
    }

    public static WeChatConfig get_instance() {
        return _instance;
    }

    public static void set_instance(WeChatConfig _instance) {
        WeChatConfig._instance = _instance;
    }

    public String getPushType() {
        return pushType;
    }

    public void setPushType(String pushType) {
        this.pushType = pushType;
    }

    public String getPushTime() {
        return pushTime;
    }

    public void setPushTime(String pushTime) {
        this.pushTime = pushTime;
    }

    public int getAccess() {
        return access;
    }

    public void setAccess(int access) {
        this.access = access;
    }

    public String getPushUrl() {
        return pushUrl;
    }

    public void setPushUrl(String pushUrl) {
        this.pushUrl = pushUrl;
    }

    public String getWeChatModuleID() {
        return weChatModuleID;
    }

    public void setWeChatModuleID(String weChatModuleID) {
        this.weChatModuleID = weChatModuleID;
    }

    public String getForwardUrl() {
        return forwardUrl;
    }

    public void setForwardUrl(String forwardUrl) {
        this.forwardUrl = forwardUrl;
    }

    private WeChatConfig() {
    };

    private static WeChatConfig _instance = null;

    public static WeChatConfig getInstance() {
        if (_instance == null) {
            _instance = new WeChatConfig();
        }
        return _instance;
    }
}
